﻿@model MobileWebsiteGenerator.Entities.Customer
@{
    var isAuthenticated = false;
    var customerName = "unknown";
    if (MobileWebsiteGenerator.MvcApplication.IsLoggedIn == true)
    {
        isAuthenticated = true;
        customerName = MobileWebsiteGenerator.MvcApplication._MainCustomer.customer.FullName;
    }
    
    
}

    <form id="login" method="post" action="/Home/Login">
    <table border="0" cellpadding="0" cellspacing="0" >
        <tr>
            <td>Email Address
                <input  style="margin-right:10px;width:180px;" placeholder="EmailAddress" autocomplete="off" class="form_input validate[required] text-input" data-val="true" id="Email" name="Email"
            type="text" value="@Html.DisplayFor(model => model.Email)" />
                <span class="field-validation-valid" data-valmsg-for="Email" data-valmsg-replace="true">
                </span>
            </td>
            <td>Password
                <input style="margin-right:10px;width:180px;" placeholder="password"  autocomplete="off" class="form_input validate[required] text-input" id="Password" name="Password" type="password"
            value="@Html.DisplayFor(model => model.Password)" />
                <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true">
                </span>
            </td>
            <td>  <a href="@Url.Action("ForgotPassword", "Home")">
        ForgotPassword</a>
                <input type="submit" style="padding:2px 35px 2px 10px;" class="form_submit" value="Login" />
            </td>
        </tr>
        <tr>
            <td >
              @*  <a href="@Url.Action("ForgotPassword", "Home")">
        ForgotPassword</a>*@
            </td>
        </tr>
    </table>
    </form>
    

}

   <style type="text/css">
#loginContainer
{
    width:120px;
    height:52px;
    margin:0px;
    vertical-align:text-bottom;
    margin-top:-8px;
}
#loginContainer h3
{
     margin:0px;
     padding:0px;
}
</style>
